package cashRegister;

public class cashRegisterTester {

	// Test cashRegister class
	public static void main(String[] args) 
	{
		
		cashRegister register = new cashRegister(6);
		
		register.recordPurchase(10);
		register.recordPurchase(30);
		register.recordTaxablePurchase(1.00);
		register.enterPayment(50);
		
		double change = register.giveChange();
		
		System.out.println(change);
		System.out.println("Expected: 8.94");

	}
}